ustream-fd: stop trying to read when s->read_blocked is set.
authorYousong Zhou <[email protected]>
Thu, 4 Jun 2015 13:41:42 +0000 (21:41 +0800)
committerFelix Fietkau <[email protected]>
Sun, 14 Jun 2015 13:16:25 +0000 (15:16 +0200)
commit8964d77f806291bfbbad6a2e2b530c1838dec29c
tree83d6ce9cb5afb32bbf8da72c91982496be3e73a7
parentcead67c804d31cc45cecd6ef8d749c2321b0d8e8
ustream-fd: stop trying to read when s->read_blocked is set.

User's s->notify_read is called in ustream_fill_read().  If
s->read_blocked is set there, then stop reading more.

Signed-off-by: Yousong Zhou <[email protected]>
ustream-fd.c